package com.ldy.gkrpc.transport;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

/**
 * @Description 处理网络请求的handler
 * @Author songxulin
 * @Date 2020/4/10 19:39
 **/
public interface RequestHandler {
    void onRequest(InputStream receive, OutputStream toResp) throws IOException;
}
